package org.exercise.record.service;

import org.exercise.record.domain.User;

import java.util.List;


public interface UserService {
    public List<User> listUser();
//    public List<User> listUserByName(UserQuery userQuery);

    // 根据用户名搜索用户信息
    public User getByUsername(String username);

    List<User> findUsersByEmailContaining(String email);

    User loginService(String username, String password);

    int registerService(User rUser);
}